/*
 * @(#)SchedulerFactory.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework;

import org.quartz.Scheduler;

/**
  SchedulerFactory.java

  This class provides the scheduler for system use.

    @author          Rollo Chan
    @company         DCIVision Limited
    @creation date   25/06/2003
    @version         $Revision: 1.3 $
*/

public class SchedulerFactory {

  public static final String REVISION = "$Revision: 1.3 $";

  private static Scheduler scheduler = null;

  private SchedulerFactory() {
  }

  public static void init(Scheduler sch) {
    scheduler = sch;
  }

  public static Scheduler getScheduler() {
    return(scheduler);
  }

}